var arr = [12, 34, 32, 89, 4]

const min = arr.reduce((a, b) => a < b ? a : b)

console.log(min)
